//
//  KongWFindHospitanModel.m
//  LoveOfPet
//
//  Created by dllo on 15/11/17.
//  Copyright © 2015年 孔维. All rights reserved.
//

#import "KongWFindHospitanModel.h"

@implementation KongWFindHospitanModel
-(void)dealloc
{
    [_photo_url release];
    [_name release];
    [_ID release];
    [_address release];
    [_coupons release];
    [super dealloc];
}
-(instancetype) initWithDictionary:(NSDictionary *)dic
{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dic];
    }
    return self;
}

+(KongWFindHospitanModel *)findHospitalWithDictionary:(NSDictionary *)dic
{
    KongWFindHospitanModel *findHospital = [[KongWFindHospitanModel alloc] initWithDictionary:dic];
    return findHospital;
}

-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"id"]) {
        self.ID = value;
    }
}
@end
